/*
 * $Author: cbeams $
 * $Date: 2007-06-04 19:47:27 +0000 (Mon, 04 Jun 2007) $
 * $Rev: 26 $
 */
package com.db4o.eclipse.plugin.views;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;


public class Db4oPerspective implements IPerspectiveFactory {

    public void createInitialLayout(IPageLayout layout) {

        layout.addView(Db4oExplorerView.ID,
                       IPageLayout.LEFT,
                       0.33f,
                       layout.getEditorArea());

        layout.addView(StoredObjectsView.ID, IPageLayout.BOTTOM, 0.33f, layout.getEditorArea());

        layout.setEditorAreaVisible(true);
    }

}
